<template>
  <div>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
    <div>我是工作台</div>
    <cube-button type="submit" @click="handleClick">Submit Button</cube-button>
  </div>
</template>

<script>
export default {
  name: 'Index',
  methods: {
    handleClick() {
      this.$router.push('/test');
    }
  }
}
</script>

<style scoped>

</style>
